package com.edu.study.base.wordLibrary.service;

import java.util.List;
import java.util.Map;

import com.edu.study.base.wordLibrary.domain.wordLibrary;
import com.ruoyi.common.core.domain.entity.SysUser;

/**
 * wordLibraryService接口
 * 
 * @author zw
 * @date 2021-06-26
 */
public interface IwordLibraryService 
{
    /**
     * 查询wordLibrary
     * 
     * @param id wordLibraryID
     * @return wordLibrary
     */
    public wordLibrary selectwordLibraryById(String id);

    public wordLibrary selectwordLibraryByName(String word);

    /**
     * 查询wordLibrary列表
     * 
     * @param wordLibrary wordLibrary
     * @return wordLibrary集合
     */
    public List<wordLibrary> selectwordLibraryList(wordLibrary wordLibrary);

    public List<wordLibrary> selectCourseWord(wordLibrary wordLibrary);



    public String importWord(List<wordLibrary> wordLibraryList, Boolean isUpdateSupport, String operName);

    /**
     * 新增wordLibrary
     * 
     * @param wordLibrary wordLibrary
     * @return 结果
     */
    public int insertwordLibrary(wordLibrary wordLibrary);

    /**
     * 修改wordLibrary
     * 
     * @param wordLibrary wordLibrary
     * @return 结果
     */
    public int updatewordLibrary(wordLibrary wordLibrary);

    /**
     * 批量删除wordLibrary
     * 
     * @param ids 需要删除的wordLibraryID
     * @return 结果
     */
    public int deletewordLibraryByIds(String[] ids);

    /**
     * 删除wordLibrary信息
     * 
     * @param id wordLibraryID
     * @return 结果
     */
    public int deletewordLibraryById(String id); 
}
